package com.myclasses;

import java.util.ArrayList;
import java.util.List;

public class UserTable {
  private List<UserItemBean> userItems = new ArrayList<UserItemBean>();
  private int size;

  public List<UserItemBean> getUserItems() {
	  Contacts contact = Contacts.getInstance();
	  userItems = contact.getContactsFromServer();
	  if (userItems!=null)
		  size = userItems.size();
	  return this.userItems;
  }
  
  public int getSize() {
	  Contacts contact = Contacts.getInstance();
	  return contact.getContactsFromServer().size();
  }
}